package sysman;

import java.util.List;
import java.util.Map;

import common.serialization.IWebText;
import common.service.IService;
import common.transaction.TransactionAnnotation;
import common.transaction.TransactionAnnotation.TransactionType;

public interface IConfigService extends IService {
	//获取数据库的所有表名
	@TransactionAnnotation
	public IWebText getAllTable() throws Exception ;
	
	//获取表的所有列信息
	@TransactionAnnotation
	public Map<String,Map<String,Object>> getAllColumn(String tableName) throws Exception ;
	
	//初始化配置信息
	@TransactionAnnotation(transactionType = TransactionType.UPDATE)
	public void initTableConfig(String tableName, List<Map<String,Object>> pageList) throws Exception ;
	
}
